<?php if (!defined('THINK_PATH')) exit();?>
<!--表单回复 start-->
<div class="item-reply reply-lz">
  <strong></strong>
  <div class="reply-list"> 
	  <div class="replay-form none" id="btn-toggle-0-167810619" style="display: block;">
		   <div class="arrow"> <em>◆</em><span>◆</span></div>                   
		   <div class="reply-wrap">                       
			   <p><em>回复</em>  <span class="u-name"><!--回复用户-->
               <?php $cm=getIdComment($comment_id,"user_id")?>
               <?php $truename=getUserData($cm["user_id"],"truename"); ?>
               <?php if(empty($truename)): ?>匿名用户 <?php else: echo (getuserdata($cm["user_id"],"truename")); endif; ?>：</span>
			   </p>                  
			   <div class="reply-input">                           
				   <div class="fl"><input id="comment_content_<?php echo ($comment_id); ?>" name="reply_content" type="text"></div>                           
				   <a id="<?php echo ($comment_id); ?>" class="reply-btn btn-gray p-bfc reply-btn-lz" href="#none" onClick="handle_comment(this.id);">回复</a>
				   <div class="clr"></div> 
			   </div>
		   </div>
	   </div>
   </div>
</div>
<!--表单回复 end-->
<?php if(is_array($rows)): $i = 0; $__LIST__ = $rows;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><div id="<?php echo ($vo["reply_id"]); ?>" class="item-reply hide-default hide" onMouseOver="show_reply_text(this.id);"onMouseOut="show_reply_text(this.id);"> 
<strong><?php echo ($vo["order_num"]); ?></strong> 
         
							 <div class="reply-list">              
								 <div class="reply-con">     
									 <span class="u-name">  
									<!--回复用户-->
                                    <?php $truename=getUserData($vo["user_id"],"truename"); ?>
                                     <a href='#none'><?php if(empty($truename)): ?>匿名用户 <?php else: echo (getuserdata($vo["user_id"],"truename")); endif; ?>
                                     </a>
                                     <em>回复</em>
                      <!--是否回复引用-->             
                     <?php if(!empty($vo["parent_id"])): $getidparentdata=getidparentdata($vo["parent_id"],"user_id");?>
                		<?php if(empty($vo["user_id|getUserData=###,truename"])): ?>匿名用户 <?php else: echo (getuserdata($vo["user_id"],"truename")); endif; ?>
                    
                    	<?php if(!empty($getidparentdata["truename"])): echo ($getidparentdata["truename"]); endif; endif; ?>
                                     
                                     
										                   : </span> 
										<span class="u-con">
                                        
                                        
                                        <?php echo ($vo["reply_content"]); ?></span>             
								</div>             
								 <div class="reply-meta">
									<span class="reply-left fl"><?php echo (date("Y-m-d H:i:s",$vo["add_time"])); ?></span> 
									<a href="#none" onClick="show_reply_box(this.id)" data-replyid="<?php echo ($vo["reply_id"]); ?>" id="reply_text_<?php echo ($vo["reply_id"]); ?>" class="p-bfc btn-toggle hl_blue" style="visibility: hidden;">回复</a>              
								 </div>              
									 <div class="replay-form none" id="reply_area_<?php echo ($vo["reply_id"]); ?>">                  
										 <div class="arrow">                      
											<em>◆</em><span>◆</span>                  
										 </div>                  
										 <div class="reply-wrap">                      
										 <p><em>回复</em> <span class="u-name"><?php if(empty($vo["user_id|getUserData=###,truename"])): ?>匿名用户 <?php else: echo (getuserdata($vo["user_id"],"truename")); endif; ?></span></p>                      
										 <div class="reply-input">                          
											<div class="fl"><input id="reply_content_<?php echo ($vo["reply_id"]); ?>" name="reply_content" type="text"></div>
											<a id="<?php echo ($vo["reply_id"]); ?>" class="reply-btn btn-gray p-bfc" href="#none" 
											onClick="handle_reply(this.id,<?php echo ($vo["comment_id"]); ?>);">回复</a>                          
											<div class="clr"></div>                      
										 </div>                  
									 </div>              
								 </div>          
 </div>
 </div>
 
 	</div><?php endforeach; endif; else: echo "" ;endif; ?> 
</div>  
<div class="corner tl"></div>